package com.dudu.exception;

import lombok.Data;

/**
 * Created by dudu on 16/8/5.
 */
@Data
public class ParamsInvalidException extends RuntimeException {

    private int code = ErrorCode.PARAMS_ERROR.getCode();

    private String msg= ErrorCode.PARAMS_ERROR.getMessage();

    public ParamsInvalidException() {
    }

    public ParamsInvalidException(Throwable throwable) {
        super(throwable);
    }
}
